<!doctype html>
<html lang="en">

	<head>
		<meta charset="UTF-8" />
		<title>普通会员</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/mui.min.css" />
	</head>
	<style>
		#item1,#item2{
			border-bottom:0px;;
		}
		.whole {
			padding: 10px 20px;
			border-bottom: 0px;
		}
		
		.mui-table-view-cell::after {
			content: "";
			height: 0;
		}
		
		.weight {
			margin-top: 20px;
			font-size: 19px;
			font-weight: bold;
		}
		.mui-content .mui-table-view li:nth-child(odd){
			font-size: 1.2em;
		}
		.mui-content .mui-table-view li:nth-child(even){
			font-size: 0.9em;
			padding: 2px 15px 11px 15px;
			border-bottom: 1px solid #ccc;
		}
		.mui-content .mui-table-view li:last-child{
			border-bottom: none;
		}
		/*按钮*/
		
		.upgrade {
			margin-top: 20px;
			width: 100%;
			text-align: center;
		}
		.mui-content .mui-slider-group .mui-table-view{
			padding: 20px 0;
		}
	</style>

	<body>

		<header class="mui-bar mui-bar-nav">
			<a href="javascript:history.go(-1)" class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">会员升级</h1>
		</header>
		<div class="mui-content">
			<div class="mui-slider">
				<div class="mui-slider-indicator mui-segmented-control mui-segmented-control-inverted  weight">
					<a class="mui-control-item" href="#item1">普通会员</a>
					<a class="mui-control-item" href="#item2">一星会员</a>
				</div>
				<div id="sliderProgressBar" class="mui-slider-progress-bar mui-col-xs-6"></div>
				<div class="mui-slider-group">
					<!--普通会员-->
					<div id="item1" class="mui-slider-item mui-control-content mui-active whole">
						<ul class="mui-table-view">
							<li class="mui-table-view-cell">会员权益</li>
							<li class="mui-table-view-cell">无</li>
							<li class="mui-table-view-cell">奖励</li>
							<li class="mui-table-view-cell">无</li>
							<li class="mui-table-view-cell">荐级别特权</li>
							<li class="mui-table-view-cell">可推荐本等级会员</li>
						</ul>
					</div>
					<!--一星会员-->
					<div id="item2" class="mui-slider-item mui-control-content whole">
						<ul class="mui-table-view">
							<li class="mui-table-view-cell">会员权益</li>
							<li class="mui-table-view-cell">推荐的会员有分润</li>
							<li class="mui-table-view-cell">奖励</li>
							<li class="mui-table-view-cell">被推荐人所有的消费金额有分润回馈！</li>
							<li class="mui-table-view-cell">荐级别特权</li>
							<li class="mui-table-view-cell">可推荐本等级会员</li>

						</ul>
						<!--升级按钮-->
						<button type="button" class="mui-btn mui-btn-blue upgrade">升级</button>
					</div>
					</div>
			</div>

		</div>

		<script src="js/jquery-3.3.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			mui.init()
			$('.upgrade').click(e=>{
				mui.confirm('确定升级？','是否升级',['取消','确认'],con=>{
					if(con.index == 1){
						mui.toast('升级成功！');
					}else{
						mui.toast('官复原级！');
					}
				})
			})
		</script>
	</body>

</html>